-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.1.7
-
Code
-
Classes
- ProcessedProductSimple
Total Complexity |
65 |
Dependencies |
8 |
Dependents |
11 |
Total lines |
510 |
Lines of code |
241 |
Logical lines of code |
148 |
Comment lines |
142 |
Methods |
27 |
Properties |
9 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getItemByPos() |
S |
57 |
6 |
17 |
calculateSubtotal() |
S |
54 |
5 |
22 |
isAffectedByRangeDiscount() |
S |
59 |
5 |
15 |
__construct() |
S |
58 |
4 |
14 |
getHtml() |
S |
55 |
3 |
20 |
getCalculatedPrice() |
S |
59 |
3 |
14 |
getPrice() |
S |
61 |
3 |
12 |
areRulesAppliedAtAll() |
S |
62 |
3 |
11 |
getOriginalPriceToDisplay() |
S |
68 |
3 |
7 |
getOriginalPrice() |
S |
68 |
3 |
7 |
getPos() |
S |
69 |
2 |
7 |
setOriginalPriceToDisplay() |
S |
68 |
2 |
7 |
getMinDiscountRangePrice() |
S |
69 |
2 |
7 |
getWcCartItem() |
S |
69 |
2 |
7 |
isDiscounted() |
S |
64 |
2 |
10 |
isPriceChanged() |
S |
64 |
2 |
10 |
getDiscounts() |
S |
69 |
2 |
7 |
getHistory() |
S |
69 |
2 |
7 |
areRulesApplied() |
S |
64 |
2 |
10 |
isUsingCustomPrice() |
S |
64 |
2 |
9 |
withContext() |
S |
81 |
1 |
3 |
getQty() |
S |
82 |
1 |
3 |
getProduct() |
S |
82 |
1 |
3 |
getPriceHtml() |
S |
79 |
1 |
3 |
getSubtotalHtml() |
S |
79 |
1 |
3 |
getQtyAlreadyInCart() |
S |
82 |
1 |
3 |
setQtyAlreadyInCart() |
S |
81 |
1 |
3 |